<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/myTag.tld" prefix="page"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<script type="text/javascript" src="<%=basePath %>/login/scripts/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="<%=basePath %>/login/scripts/jquery.quickpaginate.js"></script>
<script type="text/javascript">
	$(function(){
		$("#dataTable tbody tr").quickpaginate({ perpage:30, pager : $("#temp") });
	});
</script>
<script type="text/javascript" src="<%=basePath %>/login/scripts/common.js"></script>
<link rel="stylesheet" type="text/css" href="<%=basePath %>/login/css/style.css" />
<link rel="stylesheet" type="text/css" href="<%=basePath %>/login/css/theme1.css" />
<style type="text/css">
#search_bar td {
	border: none;
}

#box td {
	height: 28px;
}

#search_bar {
	width: 920px;
}
</style>
<div id="wrapper" style="margin-top: 10px;">
	<div id="content">
		<div id="box">
			<div>
				<h3>
					信息员积分排名
			  </h3>
			</div>
			<div style="color:red">${operationMessage }</div>
			<table border="0" cellpadding="3" cellspacing="0"
				style="width: 910px;" id="dataTable">
				<thead>
					<tr>
						<th>姓名</th>
						<th>用户名</th>
						<th>镇区</th>
						<th>总积分</th>
					</tr>
				</thead>
				<tbody>
					<c:forEach items="${linkmanList}" var="linkman" varStatus="sta">
						<c:if test="${linkman.lastPoint>0}">
							<tr>
								<td class="a-center">${linkman.lmName }</td>
								<td class="a-center" width="150">${linkman.lmUser }</td>
								<td class="a-center" width="150">${linkman.lmDq }</td>
								<td class="a-center"><a href="adminAction!pointDetail.action?yjUser.username=${linkman.lmUser}&linkmanBean.lmNum=${linkman.lmNum}" target="_blank">${linkman.lastPoint}</a></td>
							</tr>
						</c:if>
					</c:forEach>
				</tbody>
			</table>
			<div id="temp" style="width:910;height: 30px;padding-left:700px;"></div>
			</div>
			<br/>
			
			<br/>
		</div>
		
		<br />
	</div>
<script type="text/javascript">
	$(function() {
		$("#btn_output").click(function(){
			var url="adminAction!outputAllUsersExcel.action?time="+new Date().getTime();
			window.location.href=url;
			<%--$.get(url,null,function(data){
				$("#loading").show();
				if(data=="suc"){
					alert("导出成功!");
				}else{
					alert("导出失败!");
				}
				$("#loading").hide();
			});--%>
		});
	});
</script>
